@extends('admin.base')

@section('content')
    <div class="layui-card">
        <div class="layui-card-header layuiadmin-card-header-auto" style="display:flex;align-items: center;">
            <h2>更新相册</h2>
            <a href="/admin/album?property_id={{$property->id}}" style="margin-left:20px;" class="layui-btn layui-btn-normal layui-btn-sm">相册列表</a>
        </div>
        <div class="layui-card-body">
            <form class="layui-form" action="{{route('admin.album.update',['id'=>$album->id])}}" method="post">
                {{ method_field('put') }}
                @include('admin.album._form')
            </form>
        </div>
    </div>
@endsection

@section('script')
    @include('admin.album._js')
@endsection
